#ifndef MOUSE_EVENTS_H
#define MOUSE_EVENTS_H

#include "../../math/Point2D.h"
#include "../../Event/Event.h"

class MouseEvents
{
    public:
        
        enum {LEFT_BUTTON,RIGHT_BUTTON};
        
        Event<const Point2D&,int>& OnMousePressed();
        
        Event<const Point2D&,int>& OnMouseReleased();
        
        static MouseEvents* GetInstance();
        
    private:
        
        MouseEvents();
        
        static MouseEvents* _instance;
        
        Event<const Point2D&,int> _on_mouse_pressed;
        
        Event<const Point2D&,int> _on_mouse_released;
};

#endif
